<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>Atina - Premium Admin Template</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="">
        <meta name="author" content="">

        <!-- Le styles -->
        <link href="<?php echo base_url() ?>assets/css/bootstrap.css" rel="stylesheet">
        <link href="<?php echo base_url() ?>assets/css/bootstrap-responsive.css" rel="stylesheet">
        <link href="<?php echo base_url() ?>assets/css/general.css" rel="stylesheet">
        <link href="<?php echo base_url() ?>assets/css/colors/noise-black.css" rel="stylesheet" id="theme">
        <link href="<?php echo base_url() ?>assets/css/plugins/antiscroll.css" rel="stylesheet" id="theme">
        <link href="<?php echo base_url() ?>assets/css/custom.css" rel="stylesheet">

        <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
          <link href="css/ie8.css" rel="stylesheet">
          <script src="../../html5shim.googlecode.com/svn/trunk/html5.js"></script>
          <script src="js/respond/respond.min.js"></script>
        <![endif]-->

        <!-- Fav and touch icons -->
        <link rel="apple-touch-icon-precomposed" sizes="144x144" href="<?php echo base_url() ?>assets/ico/apple-touch-icon-144-precomposed.png">
        <link rel="apple-touch-icon-precomposed" sizes="114x114" href="<?php echo base_url() ?>assets/ico/apple-touch-icon-114-precomposed.png">
        <link rel="apple-touch-icon-precomposed" sizes="72x72" href="<?php echo base_url() ?>assets/ico/apple-touch-icon-72-precomposed.png">
        <link rel="apple-touch-icon-precomposed" href="<?php echo base_url() ?>assets/ico/apple-touch-icon-57-precomposed.png">
        <link rel="shortcut icon" href="<?php echo base_url() ?>assets/ico/favicon.png">
    </head>
    <body>
        <div class="mainContainer">
            <header>
                <div>
                    <a href="#" class="logo"><img src="<?php echo base_url() ?>assets/img/logo.png" alt=""></a>
                    <ul class="headerButtons">
                        <li class="profile">
                            <a href="#" data-toggle="dropdown" class="dropdown-toggle">
                                <img alt="" src="<?php echo base_url() ?>assets/img/icons/14x14/light/cog.png">
                            </a>
                            <ul class="dropdown-menu pull-right">
                                <div class="profileInfo clearfix">
                                    <img alt="" src="<?php echo base_url() ?>assets/preview/avatar.jpg">
                                    <div class="info">
                                        <h5><?php echo $f_name . ' ' . $l_name; ?></h5>
                                        <a href="#"><?php echo $email; ?></a>
                                    </div>
                                </div>
                                <li class="last-child">
                                    <a href="<?php echo base_url() ?>/login/logout">
                                        <img alt="" src="<?php echo base_url() ?>assets/img/icons/14x14/lock3.png">
                                        Log out
                                    </a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </header>
            <div class="widgetBar" style="display: block;">
                <div class="barInner">
                    <ul class="navigation">
                        <li class="<?php echo $active == 'dashboard' || $active == '' ? 'active' : ''; ?>">
                            <a href="/">
                                <i class="icon-white icon-th-large"></i>
                                Dashboard
                            </a>
                        </li>
                        <li class="<?php echo $active == 'user' ? 'active' : ''; ?>">
                            <a href="#" onclick="javascript:;">
                                <i class="icon-white icon-user"></i>
                                User
                                <span class="expand"></span>
                            </a>	
                            <ul class="subMenu">
                                <li>
                                    <a href="<?php echo base_url() ?>user/add">
                                        <span>+</span>
                                        Add New User
                                    </a>
                                </li>
                                <li>
                                    <a href="<?php echo base_url() ?>user">
                                        <span>+</span>
                                        Manage User
                                    </a>
                                </li>
                                <li>
                                    <a href="<?php echo base_url() ?>user/profile">
                                        <span>+</span>
                                        Your Profile
                                    </a>
                                </li>
                            </ul>
                        </li>
                        <li class="<?php echo $active == 'category' ? 'active' : ''; ?>">
                            <a href="<?php echo base_url() ?>category">
                                <i class="icon-white icon-bookmark"></i>
                                Category
                            </a>
                        </li>
                        <li class="<?php echo $active == 'manga' ? 'active' : ''; ?>">
                            <a href="#">
                                <i class="icon-white icon-leaf"></i>
                                Manga
                                <span class="expand"></span>
                            </a>	
                            <ul class="subMenu">
                                <li>
                                    <a href="<?php echo base_url() ?>manga/add">
                                        <span>+</span>
                                        Add New
                                    </a>
                                </li><li>
                                    <a href="<?php echo base_url() ?>manga">
                                        <span>+</span>
                                        All manga
                                    </a>
                                </li>
                            </ul>
                        </li>
                        <li class="<?php echo $active == 'novel' ? 'active' : ''; ?>">
                            <a href="#">
                                <i class="icon-white icon-book"></i>
                                Novel
                                <span class="expand"></span>
                            </a>	
                            <ul class="subMenu">
                                <li>
                                    <a href="<?php echo base_url() ?>novel/add">
                                        <span>+</span>
                                        Add New
                                    </a>
                                </li><li>
                                    <a href="<?php echo base_url() ?>novel">
                                        <span>+</span>
                                        All novel
                                    </a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="content contentRight">
                <div class="contentInner">